//
//  DianZhuanCell.m
//  1243
//
//  Created by 我的 on 16/3/24.
//  Copyright © 2016年 1243. All rights reserved.
//

#import "DianZhuanCell.h"

@implementation DianZhuanCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)clickCollectBtn:(UIButton *)sender {
    
    int i = [sender.titleLabel.text intValue];
    i ++;
    sender.enabled = NO;
    [self.collectBtn setTitle:[NSString stringWithFormat:@"%d", i] forState:UIControlStateNormal];
}

- (IBAction)clickPraiseBtn:(UIButton *)sender {
    
    int i = [sender.titleLabel.text intValue];
    i ++;
    sender.enabled = NO;
    [self.praiseBtn setTitle:[NSString stringWithFormat:@"%d", i] forState:UIControlStateNormal];
}

@end
